-- background: 2792 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 0 -- name: D1 -- part 1 (field) -- low flags: 04 -- high flags: 2007 -- rect: left=-1 top=-1 right=122 bottom=513 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 16384 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: NOTE ----- HyperTalk script ----- ON ENTERINFIELD SEND CLOSE TO THIS STACK END ENTERINFIELD -- part 11 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=496 top=121 right=138 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 3071 / 3071 -- text alignment: 1 -- font id: 16383 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: RESIZE ----- HyperTalk script ----- on mouseWithin repeat set cursor to arrow if the mouseLoc is not within the rect of me then exit repeat if the mouse is down then PUT NAME OF CARD WINDOW INTO NC PUT THE SELECTEDCHUNK INTO SC get resizeWindow(LEFT OF CARD WINDOW+110,TOP OF CARD WINDOW+90,LEFT OF CARD WINDOW+512,TOP OF CARD WINDOW+480) if it is not empty theN LOCK SCREEN -- HIDE CARD WINDOW set the rect of card window to it SET RECT OF FLD"NOTE" TO -1,-1,WIDTH OF CARD WINDOW+1,HEIGHT OF CARD WINDOW-15 set the loc of BG BUTTON"RESIZE" to the width of card window - 8,the height of card window - 8 UNLOCK SCREEN WINDNAME (NC) -- SHOW CARD WINDOW SELECT (SC) END IF end if end repeat end mouseWithin